package work.dao.impl;

import work.dao.UserDao;
import work.pojo.User;

public class UserDaoImpl implements UserDao {
    @Override
    public int add(User user) {
        return 0;
    }

    @Override
    public int deleteById(int id) {
        return 0;
    }

    @Override
    public User findByUsername(String name) {
        User user = new User();
        user.setUsername("tom");
        return user;
    }

    @Override
    public User findByUsernameAndPassword(String username, String password) {
        return null;
    }

    @Override
    public User findByCode(String code) {
        return null;
    }

    @Override
    public void updateStatus(int id) {

    }
}
